CVE-2026-39881
Vim Ex command injection in Vims NetBeans integration
Description
Vim is an open source, command line text editor. Prior to 9.2.0316, a command injection vulnerability in Vim's netbeans interface allows a malicious netbeans server to execute arbitrary Ex commands when Vim connects to it, via unsanitized strings in the defineAnnoType and specialKeys protocol messages. This vulnerability is fixed in 9.2.0316.
INFO
Published Date :
April 8, 2026, 9:17 p.m.
Last Modified :
April 22, 2026, 4:50 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update Vim to version 9.2.0316 or later.
- Ensure netbeans interface is properly configured.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-39881.
| URL | Resource |
|---|---|
| https://github.com/vim/vim/commit/7ab76a86048ed492374ac6b19 | Patch |
| https://github.com/vim/vim/releases/tag/v9.2.0316 | Release Notes |
| https://github.com/vim/vim/security/advisories/GHSA-mr87-rhgv-7pw6 | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-39881 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-39881
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-39881 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-39881 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 22, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* versions up to (excluding) 9.2.0316 Added Reference Type GitHub, Inc.: https://github.com/vim/vim/commit/7ab76a86048ed492374ac6b19 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/vim/vim/releases/tag/v9.2.0316 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/vim/vim/security/advisories/GHSA-mr87-rhgv-7pw6 Types: Vendor Advisory -
New CVE Received by [email protected]
Apr. 08, 2026
Action Type Old Value New Value Added Description Vim is an open source, command line text editor. Prior to 9.2.0316, a command injection vulnerability in Vim's netbeans interface allows a malicious netbeans server to execute arbitrary Ex commands when Vim connects to it, via unsanitized strings in the defineAnnoType and specialKeys protocol messages. This vulnerability is fixed in 9.2.0316. Added CVSS V3.1 AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N Added CWE CWE-94 Added Reference https://github.com/vim/vim/commit/7ab76a86048ed492374ac6b19 Added Reference https://github.com/vim/vim/releases/tag/v9.2.0316 Added Reference https://github.com/vim/vim/security/advisories/GHSA-mr87-rhgv-7pw6